package com.woniu.order;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
@EnableKnife4j                //开启 knife4j
@SpringBootApplication
@MapperScan("com.woniu.order.mapper")
@ComponentScan(value = {
        "com.woniu.order",
        "com.woniu.common",
})
@EnableFeignClients(basePackages = "com.woniu.api")  // 指定扫描包
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
